package com.family.business.custom.dto;

import javax.persistence.Id;
import javax.persistence.Table;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 用户信息表
 * @author kangx
 *
 */
@Entity
@Table(name="T_CUSTOM")
public class CustomDto implements Serializable{

	private static final long serialVersionUID = 4448999503294225311L;
	
	@Id
	@Column(unique=true)
	private Long Id;
	@Column(length=12,nullable=false)
	private String pwd;
	@Column(length=20,nullable=false)
	private String cusName;
	@Column(length=20)
	private String othName;
	@Column(length=2,nullable=false)
	private String cusSex;
	@Column(length=8)
	private String birthday;
	@Column(length=200)
	private String nowAdrr;
	@Column(length=200)
	private String parentAddr;
	@Column(length=20)
	private String liveCity;
	@Column(length=2)
	private String isLive;
	@Column(nullable=false)
	private Long parentId;
	public Long getId() {
		return Id;
	}
	public void setId(Long id) {
		Id = id;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getCusName() {
		return cusName;
	}
	public void setCusName(String cusName) {
		this.cusName = cusName;
	}
	public String getOthName() {
		return othName;
	}
	public void setOthName(String othName) {
		this.othName = othName;
	}
	public String getCusSex() {
		return cusSex;
	}
	public void setCusSex(String cusSex) {
		this.cusSex = cusSex;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getNowAdrr() {
		return nowAdrr;
	}
	public void setNowAdrr(String nowAdrr) {
		this.nowAdrr = nowAdrr;
	}
	public String getParentAddr() {
		return parentAddr;
	}
	public void setParentAddr(String parentAddr) {
		this.parentAddr = parentAddr;
	}
	public String getLiveCity() {
		return liveCity;
	}
	public void setLiveCity(String liveCity) {
		this.liveCity = liveCity;
	}
	public String getIsLive() {
		return isLive;
	}
	public void setIsLive(String isLive) {
		this.isLive = isLive;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	
}
